package com.ld.wms.business.log.vo.resp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 库存操作日志
 * </p>
 *
 * @author wangfeng
 * @since 2025-04-27
 */
@Data
public class InventoryOperateLogRespVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "物料库存实例id")
    private Long materialExampleInventoryId;

    @Schema(description = "厂家")
    private Long supplierId;

    @Schema(description = "批号")
    private String batchNumber;

    @Schema(description = "cas编号")
    private String casCode;

    @Schema(description = "试剂名称")
    private String materialExampleName;

    @Schema(description = "类型：0入库，1领取，2归还，3出库")
    private Integer type;

    @Schema(description = "规格")
    private String specifications;

    @Schema(description = "体积")
    private BigDecimal volume;

    @Schema(description = "体积单位")
    private String volumeUnit;

    @Schema(description = "重量")
    private BigDecimal weight;

    @Schema(description = "重量单位")
    private String weightUnit;

    @Schema(description = "具体位置：柜子:具体格子编号:抽屉内部编号，A1:A1:B1")
    private String specificLocation;

    @Schema(description = "创建人id")
    private Long createBy;

    @Schema(description = "创建人名称")
    private String createName;

    @Schema(description = "创建时间")
    private Date createTime;


}
